package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("JD_ITEM_POOL")
public class JdItemPool extends Model<JdItemPool> {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Long Id;

    @TableId("Page_Num")
    private String pageNum;

    @TableField("Name")
    private String Name;

    @TableField("CreateTime")
    private LocalDateTime CreateTime;

    @TableField("UpdateTime")
    private LocalDateTime UpdateTime;

    @TableField("DeleteFlag")
    private Integer DeleteFlag;

    @TableField("MaterialClassCode")
    private String MaterialClassCode;


    @Override
    protected Serializable pkVal() {
        return this.pageNum;
    }

}
